package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 设备管理对象 sys_device_type
 * 
 * @author 胡化敏
 * @date 2020-06-22
 */
public class SysDeviceType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long deviceCode;

    /** 排序 */
    @Excel(name = "排序")
    private Integer dictSort;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String deviceLabel;

    /** 本所编号 */
    @Excel(name = "本所编号")
    private String deviceValue;

    public void setDeviceCode(Long deviceCode) 
    {
        this.deviceCode = deviceCode;
    }

    public Long getDeviceCode() 
    {
        return deviceCode;
    }
    public void setDictSort(Integer dictSort) 
    {
        this.dictSort = dictSort;
    }

    public Integer getDictSort() 
    {
        return dictSort;
    }
    public void setDeviceLabel(String deviceLabel) 
    {
        this.deviceLabel = deviceLabel;
    }

    public String getDeviceLabel() 
    {
        return deviceLabel;
    }
    public void setDeviceValue(String deviceValue) 
    {
        this.deviceValue = deviceValue;
    }

    public String getDeviceValue() 
    {
        return deviceValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deviceCode", getDeviceCode())
            .append("dictSort", getDictSort())
            .append("deviceLabel", getDeviceLabel())
            .append("deviceValue", getDeviceValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }
}
